using System.Data;
using System.Data.Objects.DataClasses;

namespace EntityFramework.ServiceLayer
{
    public interface IEntity : IEntityWithKey, IEntityWithRelationships
    {
        EntityState EntityState { get; }
    }

    public interface IEntity<T> : IEntity
    {
        T Id { get; set; }
    }
}